using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication4
{
    public partial class TimeZone : UserControl
    {
        public TimeZone()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            lblLocalTime.Text = DateTime.Now.ToString("MMMM dd yyyy HH:mm:ss");
            lblServerTime.Text = DateTime.Now.AddHours(App.TimeAdjustment).ToString("MMMM dd yyyy HH:mm:ss");
        }

        private void TimeZone_Load(object sender, EventArgs e)
        {
            timer1.Enabled = true;

        }
    }
}
